package ModelLayer;

import java.io.Serializable;

public abstract class Item implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String name;
	private int location;

	public Item() {
		this.name = "";
		this.location = 0;
	}
	
	public Item(String name, int location) {
		this.name = name;
		this.location = location;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getLocation() {
		return location;
	}

	public void setLocation(int location) {
		this.location = location;
	}

	@Override
	public String toString() {
		return "Item [name=" + name + ", location=" + location + "]";
	}

}
